home *** CD-ROM | disk | FTP | other *** search
- Subject: ODF Container
- Sent: 5/28/96 4:11 PM
- Received: 5/28/96 1:41 PM
- From: Doyle Rhynard, doyle.w.rhynard@cpmx.saic.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I was very happy to discover that ODF R1 has a container part editor. I
- was about to try to create something with its basic functionality, but you
- have saved me, and many others, the trouble.
-
- There is one aspect of ODFContainer, however, that bothers me. I am
- attempting to convert a simulation into OpenDoc parts. The initial version
- should have about a dozen parts that function quite closely to what is
- already in ODFContainer. The problem is that each one of these parts will
- end have a lot of code that is almost identical. As far as I can determine,
- most of what is being done in the container framework classes is generic
- and could be put into base classes. In fact, only the Part, Frame, and View
- classes seem to contain features that require parts of them to be varied
- from part to part.
-
- What I would like to have is a basic container framework that has most
- of its functionality in a shareable library, such as ODFLibrary. As in all
- good object oriented code designs, only the minimum amount of nonredunant
- code would have to be incorporated into each individual part. Since most of
- the new parts that will be produced in the future as likely to be based on
- ODFContainer, I would like to think that there is some way of reducing the
- their size by putting the redundant code in a common library. This approach
- would have the added bonus that most new users wil have a much easier time
- trying to understand ODF if most of the remaining complexity can be hidden.
- I would anticipate that new users will be able to create new parts in a
- fraction of the time that it is now requires since they need only
- concentrate on the portions that absolutely have to be modified. What would
- also be nice, is a set of tutorials derived from this simple container
- model.
-
- I have made two different attempts to create such a container
- framework, but both ended up crashing when I tried to use them. My question
- is, then, whether this approach is viable at all. If someone with more ODF
- experience can help me, please let me know.
-
- Doyle Rhynard
-
-